<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
<title>Acceso Sistema</title>
  <style type="text/css">
        .ui-layout, .ui-layout-doc, .ui-layout-unit, .ui-layout-wrap, .ui-layout-bd, .ui-layout-hd{
             border: none;
        }
    </style>

</h:head>
<h:body>

<h:form>
			<p:panel id="panel" header="Login Sistema">
				<h:panelGrid columns="3">
					<h:outputLabel value="Usuario:" for="username" />
					<p:inputText  id="username" value="#{beanLogin.username}" required="true" autofocus="true"/>
					<p:message for="username"/>
					<h:outputLabel value="Password:" for="password"/>
					<p:inputText id="password" required="true" value="#{beanLogin.password}"/>
					<p:message for="password"/>
				</h:panelGrid>  
			</p:panel>
			
			<p:commandButton value="Ingresar" update="panel" action="#{beanLogin.action}"/>
	
	
	</h:form>
</h:body>

</html>